.markdown-content {
  font-size: 16px;
  line-height: 1.7;
}

/**
 * Headings
 * -------------------------------------------------------------------------- */

.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4,
.markdown-content h5,
.markdown-content h6 {
  position: relative;
  font-weight: 600;
  outline: none;
}

.markdown-content h1 {
  letter-spacing: -0.02em;
  line-height: 40px;
  font-size: 28px;
}

.markdown-content h2 {
  margin: 48px 0 16px;
  border-top: 1px solid rgba(60, 60, 60, 0.12);
  padding-top: 24px;
  letter-spacing: -0.02em;
  line-height: 32px;
  font-size: 24px;
}

.markdown-content h3 {
  margin: 32px 0 0;
  letter-spacing: -0.01em;
  line-height: 28px;
  font-size: 20px;
}

.markdown-content h4 {
  margin: 24px 0 0;
  letter-spacing: -0.01em;
  line-height: 24px;
  font-size: 18px;
}

@media (min-width: 768px) {
  .markdown-content h1 {
    letter-spacing: -0.02em;
    line-height: 40px;
    font-size: 32px;
  }
}

.markdown-content h2 {
  margin: 4rem 0 1.8rem;
  border-top: 1px solid rgba(60, 60, 60, 0.12);
  padding-top: 1.8rem;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.markdown-content p,
.markdown-content summary {
  margin: 16px 0;
}

.markdown-content p {
  line-height: 28px;
}

.markdown-content blockquote {
  margin: 16px 0;
  border-left: 2px solid #333333;
  padding-left: 16px;
  transition: border-color 0.5s;
  color: #67676c;
}

.markdown-content blockquote > p {
  margin: 0;
  font-size: 16px;
  transition: color 0.5s;
}

.markdown-content a {
  font-weight: 500;
  color: #42b883;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.25s, opacity 0.25s;
}

.markdown-content a:hover {
  color: #3ba070;
}

.markdown-content strong {
  font-weight: 600;
}

/**
 * Lists
 * -------------------------------------------------------------------------- */

.markdown-content ul,
.markdown-content ol {
  padding-left: 1.25rem;
  margin: 16px 0;
}

.markdown-content ul {
  list-style: disc;
}

.markdown-content ol {
  list-style: decimal;
}

.markdown-content li + li {
  margin-top: 8px;
}

.markdown-content li > ol,
.markdown-content li > ul {
  margin: 8px 0 0;
}

.markdown-content :not(pre) > code {
  background-color: #f1f1f1;
  padding: 0.15em 0.5em;
  border-radius: 4px;
  color: #476582;
  transition: color 0.5s, background-color 0.5s;
}

.markdown-content :not(pre, h1, h2, h3, h4, h5, h6) > code {
  font-size: 0.875em;
  color: #3451b2;
}

/**
 * Table
 * -------------------------------------------------------------------------- */

.markdown-content table {
  display: block;
  border-collapse: collapse;
  margin: 20px 0;
  overflow-x: auto;
}

.markdown-content tr {
  background-color: #ffffff;
  border-top: 4px solid #333333;
  transition: background-color 0.5s;
}

.markdown-content tr:nth-child(2n) {
  background-color: #f6f6f7;
}

.markdown-content th,
.markdown-content td {
  border: 4px solid #333333;
  padding: 8px 16px;
}

.markdown-content th {
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: var(--vp-c-text-2);
  background-color: var(--vp-c-bg-soft);
}

.markdown-content td {
  font-size: 14px;
}

.markdown-content .shiki {
  padding: 16px;
  border-radius: 8px;
  overflow: auto;
  margin: 0.5em 0;
}
